package 泛型;

/**
 * @author ycc
 * @date 2024/7/1
 */
public class GenericClass implements GenericInterface<String> {
    private String value;
    public GenericClass(String value) {
        this.value = value;
    }
    @Override
    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String getValue() {
        return this.value;
    }
}
